<?php
	if(file_exists("function/config.inc.php"))
	{
		require("function/config.inc.php");
	}
	else
	{
		require("../function/config.inc.php");
	}
	mysql_connect($CONFIG['db_host'], $CONFIG['db_user'], $CONFIG['db_pass']);
	mysql_select_db($CONFIG['db_name']);
?>